<template>
  <div>
    <el-container style="height: 100%; border: 1px solid #eee">
      <!-- 左侧菜单 -->
      <leftMenu></leftMenu>
      <el-container>
        <el-main>
          <!-- 顶部横栏 -->
          <top></top>
          <!-- 右侧内容 -->
          <contents></contents>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import leftMenu from '@/components/menu.vue'
import top from '@/components/top.vue'
import contents from '@/components/content.vue'

export default {
  data() {
    return {}
  },
  methods: {},
  components: {
    leftMenu,
    top,
    contents
  }
}
</script>

<style lang="scss" scoped>
.el-main {
  padding: 0;
}
</style>
